# fontSize attribute

The fontSize attribute specifies what font size should be used for the caption, message, legend or display text.

Caption elements, list object, alarmBanner object, text object, message display object, list selector object, list indicator object, gauge object, numeric object and display object elements contain this attribute.

FactoryTalk View equivalent: part of Font, CaptionFont or St_CaptionFont

## See also

fontSize attribute syntax

caption element

Alarm objects: alarmBanner object